﻿namespace SL651Center2.x.Messages
{
    /// <summary>
    /// 基本配置
    /// </summary>
    public class Config
    {
        /// <summary>
        /// 中心站地址
        /// </summary>
        public byte CentralAddress { get; set; }
        /// <summary>
        /// 遥测站地址
        /// </summary>
        public byte[] TelemetryAddress { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public byte[] PassWord { get; set; }
        /// <summary>
        /// 中心站信道类型及地址,4个中心站，每个都有主副，共八个
        /// </summary>
        public Dictionary<byte, byte[]> Channel { get; set; }
        /// <summary>
        /// 工作方式
        /// </summary>
        public byte WorkMode { get; set; }
        /// <summary>
        /// 遥测站采集要素设置
        /// </summary>
        public byte[] TelemetryElement { get; set; }
        /// <summary>
        /// 中继站（集合转发站）服务地址范围
        /// </summary>
        public byte[] Address { get; set; }
        /// <summary>
        /// 遥测站通信设备识别号
        /// </summary>
        public byte[] IdNum { get; set; }

    }
}
